home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1988 / Aug-Sep 88 / How to close modeless ⁄ < prev    next >
Encoding:
Text File  |  1991-03-06  |  783 b   |  25 lines  |  [TEXT/GEOL]

  1. Item    6915598                         24-Oct-88        15:31
  2.  
  3. From:   D2303                           Cameo Sys, Dev, Erik Swan
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. Sub:    How to close modeless dialog?
  8.  
  9. Here is a seemingly simple question that is not covered by MacApp 2.0b5
  10. examples and stump Dave Wilson and Kurt Schmucker....
  11.  
  12. How (and where) does a program close a modeless dialog window?
  13. For example, suppose one wished the Template View dialog in the DemoDialogs
  14. sample to close when pressing the push button in the dialog.
  15.  
  16. I guessed that in a DoChoice method for the dialogView,
  17. I should call the close method of the window of the dialog.
  18. It actually does close the dialog window but immediately bombs out to MacsBug!
  19.  
  20. Any Suggestions?
  21.  
  22. Bruce
  23.  
  24.  
  25.